package com.ruoyi.hr.service.welfare.welfareRegion;


import com.ruoyi.hr.domain.welfare.welfareregion.WelfareType;
import com.ruoyi.hr.domain.welfare.welfareregion.WelfareTypeColumns;

import java.util.List;

/**
 * @author zeo
 * @explain 福利类型
 * @date 2019/12/18 8:30
 */
public interface WelfareTypeService {
    //获取所有数据
    List<WelfareType> findWelfareType(WelfareType welfareType,int pageNum,int pageSize);

    List<WelfareType> findWelfareTypes();

    //获取数据数量
    int findCount(WelfareType welfareType);

    //获取一条数据
    WelfareType findWelfareTypeById(int id);

    //锁定和解除锁定
    int updateIsLock(WelfareType welfareType);

    //新增福利类型
    int insertWelfareType(WelfareType welfareType);

    //修改福利类型
    int updateWelfareType(WelfareType welfareType);

    //删除福利类型
    int deleteWelfareType(String ids);

    List<WelfareTypeColumns> findAll();


}
